/* 全局样式 */
body,
html,
#app {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  // background-color: #f6f7fb;
  background-color: #fafafa;
  // background-color: #f2f2f2;
  min-width: 1200px;
  box-sizing: border-box;
  font-family: 'PingFang SC', 'Microsoft Yahei';
  // scroll-behavior: smooth;
}

ul,
li {
  list-style: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
div,
button {
  margin: 0;
  padding: 0;
}

.el-footer,
.el-main,
.el-header {
  margin: 0 !important;
  padding: 0 !important;
  height: inherit !important;
}

// 聊天弹出层
.layui-layer-title {
  background-color: #f2645a;
}

// 版心
.heart_w {
  width: 1200px;
  margin: 0 auto;
}

.swiper-slide {
  cursor: pointer;
}

a {
  text-decoration: none; // 清除下划线
  color: inherit; // 继承
}

.selectEd {
  span {
    color: #2c8eff;
  }
}

.tips-con {
  padding: 5px !important;
  min-width: 0 !important;
}

// TODO: 弹框
// .el-message-box {
//   border: 1px solid #4d4c4d !important;
//   width: 500px !important;
//   .el-message-box__btns {
//     text-align: center !important;
//     margin: 40px 0px 12px;

//     .el-button {
//       font-size: 16px;
//       color: #ffffff;
//       height: 40px;
//       border: 0;
//       outline: none;
//       background: #8cc63f;
//       border-radius: 4px;
//       margin-right: 12px;

//       span {
//         vertical-align: middle;
//       }
//     }

//     .el-button:first-child::before {
//       content: ' ';
//       display: inline-block;
//       background-image: url('@/assets/images/Terms_back.png');
//       background-repeat: no-repeat;
//       background-position: 50% 50%;
//       background-size: cover;
//       width: 25px;
//       height: 25px;
//       vertical-align: middle;
//     }

//     .el-button:last-child::before {
//       content: ' ';
//       display: inline-block;
//       background-image: url('@/assets/images/error_exit.png');
//       background-repeat: no-repeat;
//       background-position: 50% 50%;
//       background-size: cover;
//       width: 25px;
//       height: 25px;
//       vertical-align: middle;
//     }
//   }
// }

// .el-message-box__title {
//   font-size: 16px !important;
//   font-weight: bold;
//   color: #ffffff !important;
//   margin-left: 10px;
//   line-height: 50px !important;
// }

// .el-message-box__header {
//   background-color: #4d4c4d;
//   padding: 0 !important;
// }

.images_t {
  width: 56px;
  height: 56px;
  margin-bottom: 10px;
  background-size: contain;
  display: inline-block;
  background-image: url('@/assets/images/warning.png');
  background-repeat: no-repeat;
  background-position: 50% 50%;
}

.have_case {
  width: 50%;
  float: right;
}

.main_left {
  width: 175px;
  height: 90%;
  overflow-y: auto;

  // 滚动条样式
  &::-webkit-scrollbar {
    width: 10px;
  }
  // 滚动槽
  &::-webkit-scrollbar-track {
    margin-top: 10px;
    border-radius: 10px;
    background: #f2f2f2;
  }
  // 滚动滑块
  &::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #b4bbc5;
  }
}

.leftToright-enter-active,
.leftToright-leave-active {
  transition: all 0.3s linear;
  transform: translatex(0);
}

.leftToright-enter,
.moveR-leave {
  transform: translatex(-100%);
}

.leftToright-leave-to {
  transform: translatex(-100%);
}

/* 纠错 */
.common_dialog {
  position: relative;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
}

.common_dialog.jc_dialog,
.common_dialog.ans_que {
  background: rgba(0, 0, 0, 0.45);
  .inner_con {
    width: 580px;
    background: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    .title {
      width: 100%;
      height: 60px;
      border-bottom: 1px solid #e7e6e6;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 20px;
      color: #796a61;
      position: relative;
      .close {
        width: 40px;
        height: 40px;
        position: absolute;
        top: 10px;
        left: auto;
        right: 8px;
        transform: rotate(45deg);
        cursor: pointer;
        &::after,
        &::before {
          content: '';
          background: #9e8e81;
          position: absolute;
        }
        &::after {
          width: 2px;
          height: 22px;
          left: 19px;
          top: 9px;
        }
        &::before {
          width: 22px;
          height: 2px;
          left: 9px;
          top: 19px;
        }
      }
    }
    .body {
      width: 100%;
      padding: 24px;
      box-sizing: border-box;
      .t_title {
        width: 515px;
        font-size: 16px;
        color: #fdaa29;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      .choose_box {
        width: 400px;
        margin-top: 15px;
        .el-radio {
          margin-bottom: 10px;
          .el-radio__input {
            .el-radio__inner {
              width: 16px;
              height: 16px;
            }
          }
          .el-radio__label {
            font-size: 16px;
          }
        }
      }
      .jc_input {
        width: 100%;
        height: 160px;
        border: 1px solid #ededed;
        border-radius: 5px;
        padding: 10px;
        box-sizing: border-box;
        font-size: 16px;
        color: #333;
        resize: none;
        outline: none;
        font-family: 'Microsoft Yahei';
      }
      .concat {
        display: flex;
        align-items: center;
        font-size: 15px;
        color: #000000a6;
        padding-top: 20px;
        input {
          width: 449px;
          height: 32px;
          border: 1px solid #eee;
          border-radius: 5px;
          font-size: 15px;
          text-indent: 10px;
          outline: none;
        }
      }
    }
    .btm_btn {
      width: 100%;
      border-top: 1px solid #eee;
      padding: 20px 60px;
      box-sizing: border-box;
      display: flex;
      justify-content: space-between;
      button {
        width: 210px;
        height: 32px;
        border: 1px solid #d9d9d9;
        font-size: 14px;
        color: #000000a6;
        cursor: pointer;
        &.cancel {
          background: transparent;
        }
        &.sure {
          color: #fff;
          background-color: #fdaa29;
          border-color: #fdaa29;
        }
      }
    }
  }
}

.common_dialog.ans_que {
  background: rgba(0, 0, 0, 0.3);
  .inner_con {
    padding: 0 20px 30px;
    box-sizing: border-box;

    .upd_box {
      width: 100%;
      margin-top: 20px;
      .el-upload--picture-card {
        width: 98px;
        height: 98px;
        line-height: 98px;
      }
      .el-upload-list--picture-card {
        .el-upload-list__item {
          width: 98px;
          height: 98px;
        }
      }
    }
  }
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #999;
  font-family: 'Microsoft Yahei';
  font-size: 14px;
}

/* 笔记 */
.mask_addNode {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2000;
  .add_box {
    width: 720px;
    height: auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    .top {
      display: flex;
      justify-content: space-between;
      align-content: center;
      padding-bottom: 15px;
      border-bottom: 1px solid #eeeeee;
      img {
        width: 50px;
        height: 50px;
      }
      p {
        width: 475px;
        height: 50px;
        line-height: 50px;
        font-size: 16px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      button {
        width: 100px;
        text-align: center;
        height: 30px;
        line-height: 30px;
        font-size: 14px;
        border-radius: 5px;
        color: #fff;
        background-color: #8cc63f;
        border: 0;
        outline: none;
        cursor: pointer;
      }
    }
    .add_info {
      .ipt {
        display: flex;
        justify-content: space-between;
        margin: 20px 0;
        justify-content: flex-start;
        textarea {
          width: 670px;
          // height: 78px;
          border: 1px solid #d0d0d0;
          border-radius: 5px;
          padding: 5px;
          -webkit-box-sizing: border-box;
          box-sizing: border-box;
          resize: none;
          outline: none;
          font-family: 'Microsoft Yahei';
          font-size: 15px;
        }

        input {
          width: 300px;
          height: 28px;
          border: 1px solid #d0d0d0;
          font-size: 16px;
          text-indent: 4px;
          outline: none;
          border-radius: 3px;
        }

        p {
          margin-left: 20px;
          font-size: 14px;
        }

        span {
          width: 70px;
          text-align: left;
          font-size: 14px;
        }
      }
    }
    .upd_box {
      width: 100%;
      margin-top: 20px;
      padding-left: 20px;
      .el-upload--picture-card {
        width: 98px;
        height: 98px;
        line-height: 98px;
      }
      .el-upload-list--picture-card {
        .el-upload-list__item {
          width: 98px;
          height: 98px;
        }
      }
    }
    .btns {
      height: 30px;
      display: flex;
      justify-content: center;
    }
    button {
      width: 70px;
      text-align: center;
      height: 30px;
      line-height: 30px;
      font-size: 14px;
      border-radius: 5px;
      color: #fff;
      background-color: #8cc63f;
      border: 0;
      outline: none;
      cursor: pointer;
      margin-right: 10px;
    }
  }
}
/* .upToDown-enter,
.upToDown-leave-to {
  opacity: 0;
  transform: translateY(-100%);
}
.upToDown-enter-active,
.upToDown-leave-active {
  transition: all 0.2s ease;
  transform: translateY(0);
} */

/* 笔记列表 */
.note_box {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1111;
  .note_list {
    width: 760px;
    height: 620px;
    background-color: transparent;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-sizing: border-box;
    .top {
      width: 100%;
      height: 66px;
      border-bottom: 1px solid #eee;
      display: flex;
      justify-content: space-between;
      align-items: center;
      img {
        width: 50px;
        height: 50px;
      }
      button {
        width: 100px;
        height: 30px;
        border: 0;
        background: #0f9d58;
        color: #fff;
        border-radius: 5px;
        cursor: pointer;
      }
    }
    .count {
      width: 100%;
      height: 30px;
      font-size: 16px;
      font-weight: 550;
      line-height: 30px;
    }
    .list_item {
      height: 430px;
      overflow-y: auto;
      margin-top: 10px;
      .item {
        border-bottom: 1px dashed #eee;
        padding-bottom: 10px;
        position: relative;
        h5 {
          font-size: 15px;
          font-weight: 550;
          color: #333;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
          margin-top: 5px;
        }
        p {
          font-size: 15px;
          color: #333;
          margin-top: 5px;
        }
      }
      &::-webkit-scrollbar {
        width: 10px;
        height: 10px;
      }
      &::-webkit-scrollbar-track {
        background: rgb(239, 239, 239);
        border-radius: 2px;
      }
      &::-webkit-scrollbar-thumb {
        background: #bfbfbf;
        border-radius: 10px;
      }
      &::-webkit-scrollbar-thumb:hover {
        background: #333;
      }
      &::-webkit-scrollbar-corner {
        background: #179a16;
      }
    }
    .close_btn {
      width: 70px;
      text-align: center;
      height: 30px;
      line-height: 30px;
      font-size: 14px;
      border-radius: 5px;
      color: #fff;
      background-color: #0f9d58;
      cursor: pointer;
      display: block;
      margin: 20px auto 0;
      border: none;
    }
  }
}

/* 答疑 */
.common_dialog.ans_que {
  background: rgba(0, 0, 0, 0.3);
  .inner_con {
    padding: 0 20px 30px;
    box-sizing: border-box;
    .row {
      margin: 20px 0;
      display: flex;
      justify-content: flex-end;
      .other_ans {
        width: 116px;
        height: 32px;
        background: #8cc63f;
        color: #fff;
        border: 0;
        border-radius: 5px;
        cursor: pointer;
      }
      .my_ans {
        width: 116px;
        height: 32px;
        background: #8cc63f;
        color: #fff;
        border: 0;
        border-radius: 5px;
        margin-right: 20px;
        cursor: pointer;
      }
    }
    .que_tit {
      width: 100%;
      margin-bottom: 20px;
      input {
        width: 100%;
        height: 30px;
        border: 1px solid #ededed;
        text-indent: 5px;
        font-size: 15px;
        color: #333;
        outline: none;
      }
    }
    .que_info {
      width: 100%;
      textarea {
        width: 100%;
        height: 210px;
        border: 10px;
        padding: 8px;
        border: 1px solid #ededed;
        box-sizing: border-box;
        font-size: 15px;
        color: #333;
        outline: none;
        resize: none;
        font-family: 'Microsoft Yahei';
      }
    }
    .upd_box {
      width: 100%;
      margin-top: 20px;
      .el-upload--picture-card {
        width: 98px;
        height: 98px;
        line-height: 98px;
      }
      .el-upload-list--picture-card {
        .el-upload-list__item {
          width: 98px;
          height: 98px;
        }
      }
    }
    .btm_btns {
      display: flex;
      justify-content: flex-end;
      button {
        width: 65px;
        height: 32px;
        background: #fff;
        border-radius: 5px;
        border: 1px solid #d9d9d9;
        font-size: 15px;
        color: #000000a6;
        margin-right: 20px;
        cursor: pointer;
        transition: all ease 0.3s;
        &:hover {
          color: #fdaa29;
          border-color: #fdaa29;
        }
      }
    }
  }
}

/* 答疑列表 */
.ask_box {
  .inner_box {
    width: 720px;
    height: 590px;
    background: #fff;
    border-radius: 5px;
    padding: 15px 20px;
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    .top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-bottom: 10px;
      border-bottom: 1px solid #eee;
      img {
        width: 50px;
        height: 50px;
      }
      h5 {
        font-size: 15px;
        color: #333;
        width: 400px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-weight: normal;
      }
      button {
        display: block;
        width: 70px;
        text-align: center;
        height: 30px;
        font-size: 14px;
        border-radius: 5px;
        color: #fff;
        background-color: #0f9d58;
        border: 0;
        cursor: pointer;
      }
    }
    .tit_div {
      display: flex;
      justify-content: space-between;
      margin-top: 15px;
      .count {
        font-size: 15px;
        color: #333;
        font-weight: 550;
      }
      .type {
        display: flex;
        justify-content: flex-end;
        p {
          font-size: 15px;
          color: #0f9d58;
          cursor: pointer;
          margin-right: 20px;
          &.act_type {
            color: red;
          }
        }
      }
    }
    .list_item {
      height: 400px;
      overflow-y: auto;
      margin-top: 15px;
      padding-bottom: 20px;
      .item {
        padding-bottom: 10px;
        border-bottom: 1px dashed #eee;
        .top_con {
          display: flex;
          .avatar_box {
            width: 40px;
            height: 40px;
            margin-right: 15px;
            img {
              width: 100%;
              height: 100%;
              border-radius: 5px;
            }
          }
          .ana_box {
            width: 590px;
            p {
              font-size: 15px;
              color: #666;
              &.name {
                font-weight: 550;
              }
              &.time {
                margin: 5px 0 10px;
              }
              &.con {
                color: #333;
              }
            }
          }
        }
        .img_box {
          margin-top: 15px;
          margin-left: 40px;
          img {
            width: 150px;
            height: 100px;
            margin-right: 10px;
          }
        }
      }
      &::-webkit-scrollbar {
        width: 10px;
        height: 10px;
      }
      &::-webkit-scrollbar-track {
        background: rgb(239, 239, 239);
        border-radius: 2px;
      }
      &::-webkit-scrollbar-thumb {
        background: #bfbfbf;
        border-radius: 10px;
      }
      &::-webkit-scrollbar-thumb:hover {
        background: #333;
      }
      &::-webkit-scrollbar-corner {
        background: #179a16;
      }
    }
  }
}
